
#pragma once
#pragma pack (push, 8)

#include "zacdb.h"
#include "zdbmain.h"

class UcDbObjectContext;

class UcDbObjectContextInterface : public UcRxObject
{
public:

    UCRX_DECLARE_MEMBERS(UcDbObjectContextInterface);
    virtual bool supportsCollection (
                            const UcDbObject* pObject,
                            const UcString&   collectionName ) const = 0;
    virtual bool hasContext ( const UcDbObject*        pObject,
                              const UcDbObjectContext& context ) const = 0;
    virtual Ucad::ErrorStatus addContext (
                                UcDbObject*              pObject,
                                const UcDbObjectContext& context ) const = 0;
    virtual Ucad::ErrorStatus removeContext (
                                UcDbObject*              pObject,
                                const UcDbObjectContext& context ) const = 0;
};

#pragma pack (pop)

